﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/C5.Master" AutoEventWireup="true"
    CodeBehind="RegisterBankAccount.aspx.cs" Inherits="EasyCheque.Welcome.RegisterBankAccount" %>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">

    <script type="text/javascript">
        function show() {
            document.getElementById('ctl00_ctl00_RightContent_ContentPlaceHolder_Content_Panel_Calendar').style.display = '';
        }

        function hide() {
            document.getElementById('ctl00_ctl00_RightContent_ContentPlaceHolder_Content_Panel_Calendar').style.display = 'none';
        }
    </script>

    <div class="title_inner">
        登记银行账号（非本系统功能）
    </div>
        <asp:Table ID="Table_RegisterForm" runat="server" CssClass="formtable">
            <asp:TableRow>
                <asp:TableCell CssClass="infoCellLabel">
                    <asp:Label ID="Label2" runat="server" Text="银行账号"></asp:Label>
                </asp:TableCell>
                <asp:TableCell CssClass="infoCellValue">
                    <asp:TextBox ID="TextBox_ACCOUNT_ID" runat="server" AutoPostBack="false">
                    </asp:TextBox>
                    <asp:Label ID="Label6" runat="server" Text=" *" ForeColor="Red"></asp:Label>
                </asp:TableCell>
                <asp:TableCell CssClass="infoUltraWidth">
                    <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator4" runat="server" ErrorMessage="银行账户不能为空。"
                        CssClass="tipwrong" ControlToValidate="TextBox_ACCOUNT_ID" ForeColor="#888888">
                    </asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator Display="Dynamic" ID="RegularExpressionValidator3" runat="server" ErrorMessage="银行账户不符合格式。"
                        ControlToValidate="TextBox_ACCOUNT_ID" CssClass="tipwrong" ForeColor="#888888"
                        ValidationExpression="\d{19}">
                    </asp:RegularExpressionValidator>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="Label_BIRTHDAY" runat="server" Text="开户日期"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="TextBox_BIRTHDAY" runat="server" onfocus="show()" onchanged="hide()"
                        ReadOnly="True">
                    </asp:TextBox>
                    <asp:Label ID="Label9" runat="server" Text=" *" ForeColor="Red"></asp:Label>
                    <asp:Panel ID="Panel_Calendar" runat="server">
                        <asp:Calendar ID="Calendar_InPanel" runat="server" CssClass="csscalendar" OnSelectionChanged="Calendar_InPanel_SelectionChanged"
                            OnVisibleMonthChanged="Calendar_InPanel_VisibleMonthChanged" BackColor="White"
                            BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest"
                            Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px">
                            <selecteddaystyle backcolor="#009999" font-bold="True" forecolor="#CCFF99" />
                            <selectorstyle backcolor="#99CCCC" forecolor="#336666" />
                            <weekenddaystyle backcolor="#CCCCFF" />
                            <todaydaystyle backcolor="#99CCCC" forecolor="White" />
                            <othermonthdaystyle forecolor="#999999" />
                            <nextprevstyle font-size="8pt" forecolor="#CCCCFF" />
                            <dayheaderstyle backcolor="#99CCCC" forecolor="#336666" height="1px" />
                            <titlestyle backcolor="#003399" bordercolor="#3366CC" borderwidth="1px" font-bold="True"
                                font-size="10pt" forecolor="#CCCCFF" height="25px" />
                        </asp:Calendar>
                    </asp:Panel>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="Label_Amount" runat="server" Text="余额（元）"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="TextBox_Amount" runat="server" AutoPostBack="false">
                    </asp:TextBox>
                    <asp:Label ID="Label4" runat="server" Text=" *" ForeColor="Red"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator2" runat="server" ErrorMessage="账号余额不能为空。"
                        CssClass="tipwrong" ControlToValidate="TextBox_Amount" ForeColor="#888888">
                    </asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator Display="Dynamic" ID="RegularExpressionValidator8" runat="server" ErrorMessage="请输入正确的金额。"
                        CssClass="tipwrong" ControlToValidate="TextBox_Amount" ForeColor="#888888" ValidationExpression="^[1-9]\d{0,4}\.\d{0,2}$|^[1-9]\d{0,4}$">
                    </asp:RegularExpressionValidator>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="Label13" runat="server" Text="银行账号密码"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="TextBox_ACCOUNT_PASSWORD" runat="server" AutoPostBack="false" TextMode="Password">
                    </asp:TextBox>
                    <asp:Label ID="Label14" runat="server" Text=" *" ForeColor="Red"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator6" runat="server" ErrorMessage="银行账号密码不能为空。"
                        CssClass="tipwrong" ControlToValidate="TextBox_ACCOUNT_PASSWORD" ForeColor="#888888">
                    </asp:RequiredFieldValidator>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="Label1" runat="server" Text="确认账号密码"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="TextBox_BankPasswordConfirm" runat="server" AutoPostBack="false"
                        TextMode="Password">
                    </asp:TextBox>
                    <asp:Label ID="Label5" runat="server" Text=" *" ForeColor="Red"></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator3" runat="server" ErrorMessage="确认账号密码不能为空。"
                        CssClass="tipwrong" ControlToValidate="TextBox_BankPasswordConfirm" ForeColor="#888888">
                    </asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="密码不符。"
                        ControlToCompare="TextBox_ACCOUNT_PASSWORD" ControlToValidate="TextBox_BankPasswordConfirm"
                        CssClass="tipwrong" ForeColor="#888888">
                    </asp:CompareValidator>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:Button ID="Button_Register" runat="server" CssClass="pt_button" Text="注册" OnClick="Button_Register_Click" />
                </asp:TableCell>
                <asp:TableCell>
                    <asp:Label ID="Label_CommitMessage" runat="server" Text="" ForeColor="Red" CssClass="tipwrong">
                    </asp:Label>
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
</asp:Content>
